package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.List;
import java.util.Map;

public interface AddressDao {

    void addAddress(Address address);

    void addOrderByAddressId(Map map);

    Page<Address> findQuery(Map map);

    Address copyback(Integer id);

    void editAddress(Address address);

    void deleteAddressByorder(Integer id);

    void deleteAddress(Integer id);

    List<Address> findAddress();


    Integer findAddressById(Map map1);

    void addAdressByorder(Map map1);
}
